import { Http } from '@/common/api'
// 列表
export const listUrl = '/srm/bill/page'

// 获取详情
export const apiGetBillDetail = async (id) => Http.get(`/srm/bill/detail/${id}`)

// 新增
export const apiBillAdd = async (param) => Http.post('/srm/bill/add', param)
// 修改
export const apiBillUpdate = async (param) => Http.post('/srm/bill/update', param)
// 发送
export const apiBillSend = async (param) => Http.put('/srm/bill/send', param)

// 取消
export const apiBillCancle = async (param) => Http.put('/srm/bill/cancel', param)

// 删除
export const apiBillDelete = async (param) => Http.put('/srm/bill/delete', param)

//
export const deliveryNoteDetailUrl = '/srm/delivery/note/page/deliveryNoteDetail'
